import { ISysOrg } from '/@/views/_admin/sysorg/api/interface';

export interface ISysOrg {
	ID?: string | null;
	Name: string | null;
	Code: string | null;
	IsHrOrg: boolean;
	IsFinanceOrg: boolean;
	IsSupplyChainOrg: boolean;
	ParentId: null;
	Parent?: ISysOrg;
	Order?: number | null;
}

export interface ISysOrgVm {
	Entity: ISysOrg;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;
}

export interface ISysOrgView extends ISysOrg {}

export interface ISysOrgQuery {
	Name?: string | null;
	Code?: string | null;
	IsHrOrg?: boolean | null;
	IsFinanceOrg?: boolean | null;
	IsSupplyChainOrg?: boolean | null;
	ParentId?: string | null;
}
